package com.robot.backend.service.record;

import com.alibaba.fastjson2.JSONObject;
import org.springframework.stereotype.Service;

@Service
public interface recordCRUDService {
    public boolean addRecord(int aid, int bid, int abot, int bbot, String loser, int[] asteps,
                             int[] bsteps, int[][] map, int asx, int asy, int bsx, int bsy,int winScore,int loseScore);
    public JSONObject getRecordById(int id,int page,int sizes);
    public JSONObject getAllRecord(int page,int sizes);
}
